﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace System.Collections
{
    public  class Hashtable
    {
        private Dictionary<String, String> _hashTable = new Dictionary<string, string>();

        public void Add(string key, string value)
        {
            _hashTable[key] = value;
        }

        internal bool ContainsKey(string key)
        {
            if(_hashTable.ContainsKey(key))
            {
                return true;
            }
            return false;
        }

        public string  this[string key]
        {
            get
            {
                return _hashTable[key];
            }
        }
        
    }
}
